package e.odbo.data.model.smaple;

import e.odbo.data.model.Column;
import e.odbo.data.model.ColumnType;
import e.odbo.data.model.I_ColumnGather;

public class VersionControlAble implements I_ColumnGather {
    public final static int TABLE_FLAG_VERSION=PK.TABLE_FLAG_PK<<2;

    public final static VersionControlAble Instance=new VersionControlAble();

    public final static String VERSION="VERSION_SYS";

    @Override
    public Column[] getColumns() {
        return new Column[]{Column.c(VERSION, ColumnType.INT,"version").NotNull()};
    }

    @Override
    public int addTableFlags() {
        return TABLE_FLAG_VERSION;
    }
}
